package com.neuedu.factory;

import com.neuedu.entity.Admin;
import com.neuedu.entity.User;

/**
 * @Author: MARK
 * @Date: 2019/7/23 11:37
 * @version: 1.0.0
 * @Description:
 */
public class InstanceFactory {
//    public User getInstance(){
//        return new User();
//    }
    public Admin getInstance(){
        Admin admin = new Admin();
        admin.setUsername("管理员1");
        return admin;
    }

}
